#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2021/8/19 10:29
# @Author  : 李中华
# @Email   : 1260429766@qq.com
# @File    : parametrize.py
import pytest

data = [{
    "aa": 1,
    "bb": 2,
    "cc":4,
    "num": 7
}, {
    "aa": 4,
    "bb": 5,
    "cc":6,
    "num": 15
}
]

@pytest.mark.parametrize('data1',data)
def test_1(data1):
    print(data1['aa']+data1['bb']+data1['cc'])